package com.xx.sg.own.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;


@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@TableName("sg_air_line")
public class AirLine {
    @TableId(value = "id", type = IdType.ASSIGN_UUID)
    private String id;
    @TableField(value = "air_point")
    private String airPoint;
    @TableField(value = "no")
    private String no;
    @TableField(value = "length")
    private String length;
    @TableField(value = "distance_border")
    private String distanceBorder;

    @TableField(exist = false)
    List<CheckPoint> checkPoints;

}
